package com.feihong.txgw.ui.activity.recharge;

import android.os.Bundle;
import android.support.v4.view.ViewPager;

import com.astuetz.PagerSlidingTabStrip;
import com.feihong.txgw.R;
import com.feihong.txgw.fragmentadapter.RechargePagerAdapter;
import com.feihong.txgw.message.LoginMessage;
import com.feihong.txgw.ui.activity.base.BaseActivity;

import butterknife.BindView;

/**
 * Created by Sabirjan on 2017/6/13.
 * TXGW.(购物车界面暂无调用)
 * 飞宏电子
 * 充值
 */
public class RechargeActivity extends BaseActivity {

    @BindView(R.id.tabs) PagerSlidingTabStrip pagerSlidingTabStrip;
    @BindView(R.id.viewPager) ViewPager viewPager;

    @Override
    public void setTheme() {

    }

    @Override
    public int setLayoutID() {
        return R.layout.activity_recharge;
    }

    @Override
    public void initView(Bundle savedInstanceState) {

        setPageTitle("充值中心");
        setBackButtonFinish();
        pagerSlidingTabStrip.setIndicatorHeight(3);

        RechargePagerAdapter pagerAdapter = new RechargePagerAdapter(getSupportFragmentManager());
        viewPager.setAdapter(pagerAdapter);
        pagerSlidingTabStrip.setViewPager(viewPager);
    }

    @Override
    public void bindData() {

    }

    @Override
    public void onUserLogin(LoginMessage loginMessage) {

    }
}
